package v1

import (
	"github.com/gogf/gf/v2/frame/g"
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"
)

type AuctionListReq struct {
	g.Meta `path:"/auction/v1/list" method:"get" tags:"API-竞拍" summary:"拍卖列表"`
	sysin.AuctionApiLogListInp
}
type AuctionListRes struct {
	form.PageRes
	List []*sysin.AuctionLogListModel `json:"list"   dc:"数据列表"`
}

type AuctionDetailReq struct {
	g.Meta `path:"/auction/v1/detail" method:"get" tags:"API-竞拍" summary:"拍品详情"`
	sysin.AuctionLogViewInp
}

type AuctionDetailRes struct {
	*sysin.AuctionLogViewModel
}

type AuctionBidRankListReq struct {
	g.Meta `path:"/auction/v1/bid/history" method:"get" tags:"API-竞拍" summary:"排名列表"`
	sysin.AuctionBidHistoryApiListInp
}

type AuctionBidRankListRes struct {
	form.PageRes
	List []*sysin.AuctionBidHistoryListModel `json:"list"   dc:"数据列表"`
}

type AuctionHomeReq struct {
	g.Meta `path:"/auction/v1/home" method:"get" tags:"API-竞拍" summary:"首页显示时间"`
}

type AuctionHomeRes struct {
	BidingTotal int                              `json:"biding_total"   dc:"正在拍卖的数量"`
	List        []*sysin.AuctionHomeApiListModel `json:"list"   dc:"数据列表"`
}
